package leetcode.bit;

public class Test1 {
    public static void main(String[] args) {
        int i = 32 - Integer.numberOfLeadingZeros(13);
        System.out.println((1 << i) - 1);
    }
}
